package cn.calm.commons.util;

public class StringUtil {
	public static String displayShort(String srt, int length) {
		if (srt == null) {
			return "";
		}
		if (srt.length() <= length) {
			return srt;
		} else {
			return srt.substring(0, length);
		}
	}
}
